package com.ysd.twocrm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

//信息表
@TableName(value = "SelectExam")
public class SelectExam {

    @TableId(value = "sid",type = IdType.AUTO)
    private Integer sid;  //编号

    private String sname;//名字

    private String type;//类型

    private Integer snum;//分值
@TableField(value = "OptionA")
    private String OptionA;//选项A
    @TableField(value = "OptionB")
    private String OptionB;//选项B
    @TableField(value = "OptionC")
    private String OptionC;//选项C
    @TableField(value = "OptionD")
    private String OptionD;//选项D

    private String answer;//答案

    private String remark;//备注

    private Integer pid;//对应考试表


    public SelectExam() {
        super();
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getSnum() {
        return snum;
    }

    public void setSnum(Integer snum) {
        this.snum = snum;
    }

    public String getOptionA() {
        return OptionA;
    }

    public void setOptionA(String optionA) {
        OptionA = optionA;
    }

    public String getOptionB() {
        return OptionB;
    }

    public void setOptionB(String optionB) {
        OptionB = optionB;
    }

    public String getOptionC() {
        return OptionC;
    }

    public void setOptionC(String optionC) {
        OptionC = optionC;
    }

    public String getOptionD() {
        return OptionD;
    }

    public void setOptionD(String optionD) {
        OptionD = optionD;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public SelectExam(Integer sid, String sname, String type, Integer snum, String optionA, String optionB, String optionC, String optionD, String answer, String remark, Integer pid) {
        this.sid = sid;
        this.sname = sname;
        this.type = type;
        this.snum = snum;
        OptionA = optionA;
        OptionB = optionB;
        OptionC = optionC;
        OptionD = optionD;
        this.answer = answer;
        this.remark = remark;
        this.pid = pid;
    }
}
